package com.bjx.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 角色菜单关联数据实体
 * @author: liushuai
 * @date: 2022/10/14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_role_menu")
@Schema(title = "RoleMenu",description = "角色菜单关联")
public class RoleMenuEntity  {
      /**
      * 角色菜单ID
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "roleMenuId",description = "角色菜单ID")
      private  Long roleMenuId; 
      
      /**
      * 菜单ID
      */
      @Schema(title = "menuId",description = "菜单ID")
      private  Long menuId; 
      
      /**
      * 角色ID
      */
      @Schema(title = "roleId",description = "角色ID")
      private  Long roleId; 
      
}